From: Richard M. Stallman Date: Tue, 30 Mar 1993 19:38:34 +0000 (+0000) Subject: (isearch-mode-map): Delete the binding for C-h. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96635 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=58f1634a6800625beef9ce2205d0c15eeba006dc;p=emacs.git (isearch-mode-map): Delete the binding for C-h. --- diff --git a/lisp/isearch.el b/lisp/isearch.el index 85b8924ac0d..1abd4c56a0a 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -4,7 +4,7 @@ ;; Author: Daniel LaLiberte -;; |$Date: 1993/03/17 17:17:05 $|$Revision: 1.26 $ +;; |$Date: 1993/03/21 05:50:17 $|$Revision: 1.27 $ ;; This file is not yet part of GNU Emacs, but it is based almost ;; entirely on isearch.el which is part of GNU Emacs. @@ -92,8 +92,12 @@ ;;;==================================================================== ;;; Change History -;;; $Header: /home/gd/gnu/emacs/19.0/lisp/RCS/isearch.el,v 1.26 1993/03/17 17:17:05 eric Exp jimb $ +;;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/isearch.el,v 1.27 1993/03/21 05:50:17 jimb Exp rms $ ;;; $Log: isearch.el,v $ +; Revision 1.27 1993/03/21 05:50:17 jimb +; * isearch.el (isearch-switch-frame-handler): Call +; handle-switch-frame instead of select-frame; it has been renamed. +; ; Revision 1.26 1993/03/17 17:17:05 eric ; Add standard library headers. ; @@ -349,16 +353,9 @@ Default value, nil, means edit the string instead.") (define-key map "?" 'isearch-*-char) (define-key map "|" 'isearch-|-char) - ;; You can reenable global keys by binding them locally to nil. - ;; For the help char this doesnt work quite as expected because - ;; isearch-mode is not a major mode. Also the echo area is not - ;; restored after the help command while isearch-mode is - ;; still active. Furthermore, we should not assume that the - ;; help-command is on C-h. But here is how it would be done: - ;; (define-key map "\C-h" nil) - - ;; Instead bind C-h to special help command for isearch-mode. - (define-key map "\C-h" 'isearch-mode-help) +;;; Turned off because I find I expect to get the global definition--rms. +;;; ;; Instead bind C-h to special help command for isearch-mode. +;;; (define-key map "\C-h" 'isearch-mode-help) ;; To handle local bindings with meta char prefix keys, define ;; another full keymap. This must be done for any other prefix